﻿@using ExampleWebApplication.Models
@model IList<ProductModel>
@{
    ViewBag.Title = "Home Page";
}
<h3>@ViewBag.Message</h3>
<br/>
<p>
    This project was created to help developers work with <b>Telerik Grid</b> for <b>ASP.NET MVC</b> coupled with some mapping techniques to convert Entities objects into ViewModels objects.</p>
<p>
    If you're one of us, you have to implement <b>CustomBinding</b> in order to query the database reporting some criteria for sort, group and filter the income data, and then convert back the result to a list of ViewModels.</p>
<p>
    Sounds simple, but can become a very complicated and repetitive task.</p>
<p>
    So TelerikMvcGridCustomBindingHelper was built in order to automate this process in a very smooth way.</p>
<p>
    Before using this helper, some observations;</p>
<ul>
    <li>This code is highly <i>experimental</i> and has no guarantee that works perfectly in all cases;</li>
    <li>It was developed on top of <a href="http://www.nhforge.org/">NHibernate</a>, but could work with another ORM tool;</li>
    <li>It can take advantage of your <a href="http://automapper.org/">AutoMapper</a> mappings.</li>
</ul>
<p>
    That's it for now, I hope you enjoy.</p>

<div class="anchor-button">@Html.ActionLink("NHibernate Examples", "Index", "NHibernate")</div>
<div class="text-transparent" style="float: left; width: 2em;">.</div>
<div class="anchor-button">@Html.ActionLink("EntityFramework Examples", "Index", "EntityFramework")</div>

@* ReSharper disable InvalidValue *@
<p  class="text-transparent" style="height: 10000">.</p>
<p  class="text-transparent" style="height: 10000">.</p>
<p  class="text-transparent" style="height: 10000">.</p>
@* ReSharper restore InvalidValue *@